package com.aliang.book_java1.service;

import com.alibaba.fastjson.JSONArray;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface LogicalManage {

    //上传excel
    JSONArray uploadExcel(String type, MultipartFile file)  throws Exception;

    //获取服务器信息
    Map<String,Object> getComputerInfo() throws Exception;


    //检测新闻
    Map<String, Integer> countWordFrequency(String news) throws Exception;
}
